//
//  D1BaseCollectionCell.h
//  STBasicsApp
//
//  Created by jerry on 2019/5/3.
//  Copyright © 2019 jerry. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface D1BaseCollectionCell : UICollectionViewCell

@property (nonatomic, strong) id model;

+ (NSString *)cellIdentifier;
+ (void)registerCellInCollectionView:(UICollectionView *)collectionView;
- (void)updateWithModel:(id)model;
+ (CGSize)cellSize;
+ (instancetype)cellWithIndexPath:(NSIndexPath *)indexPath atCollectionView:(UICollectionView *)collectionView;


@end

NS_ASSUME_NONNULL_END
